home *** CD-ROM | disk | FTP | other *** search
- Path: comma.rhein.de!yaps!arno
- From: arno@yaps.rhein.de (Arno Eigenwillig)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: manipulating the stack in C
- Message-ID: <AVV-x*3yf@yaps.rhein.de>
- Date: Sun, 28 Jan 1996 20:32:36 +0100
- References: <4e8b20$lsq@newshost.lanl.gov> <Sh++x*aE0@mkmk.in-chemnitz.de> <jasonb.822718223@cs.uwa.edu.au>
- Organization: Yet Another Private Site in Meckenheim, Germany
- X-Copyright: This article may not be distributed on a CD-ROM
- or in printed form without prior written consent of the author.
- X-Newsreader: Arn V 1.04
-
- In article <jasonb.822718223@cs.uwa.edu.au>, Jason S Birch writes:
-
- > I haven't got docs with me right now, but I think you'll find that
- > this is compiler-dependent - ANSI C, AFAIR, doesn't define the order
- > arguments will be put on the stack
-
- Agreed, but for variadic functions (as discussed here), you'll incur
- some problems if you push arguments in another sequence than right-to-
- left. ;)
-
- -- __
- __/// Arno Eigenwillig /\ <arno@yaps.rhein.de> \/ PGP key available.
- \XX/ V+49-2225-5870 /\ <Arnooo @ #amigager> \/ MIME 8bit welcome.
-